package com.person.mapper;

import com.person.pojo.Emp;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


@Mapper
public interface EmpMapper {

    public Emp login(Emp employee) ;

    void addEmp( Emp emp);

    List<Emp> pageList(String name);

    void update(Emp emp);

    Emp byId(long id);
}
